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

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

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