cleaned up quadtree code slightly