updated quadtree example