changed quadtree from array to structure, in preparation for cuda library radix sort