Implimented quadtree fully