Basic quadtree done.