Close to the first iteration of the version
modifying tangents on the spline data