QuadTree, calculate bounding rect