change maxVert to float parameter in meters