added quadtree api