Working on transitioning functions to quadtree equivalents.