migrate code over to second method for quadtree of length 2 and test passes