MESH CURVE FIT