The tangent vector is set equal to the tangent vector at the end break point of the interpolating (quadratic) parabola trough the first resp. last three data points.