     BOTTOM_LEFT = 2
     BOTTOM_RIGHT = 3
       
-    findIndex = (item) ->
+    findQuadrant = (item) ->
       bounds = I.bounds
       
       x = bounds.x

          I.children.clear()    
      
      retrieve: (item) ->
        index = findIndex(item)
    
        return I.nodes[index]?.retrieve(item) || I.children  
                      

    
      insert: (item) ->
        if I.nodes.length
          index = findQuadrant(item)
        
          I.nodes[index].insert(item)
        
