Switched quadtree to a regular python object