Remove QuadTree::leaf, comparing m and n is enough