region quadtree work