trying to make sure mesh is even in all directions for p3m