Updated quadtree and xmax/ymax