Began changes for quadtree