added rtree and quadtree helpers