moved isOverlapping method from BinTree2D to BoundingBox