curve generated by using GeomAPI_Interpolate has non uniform parametric distribution on the curve.

Hi guys,

I am using GeomAPI_Interpolate to reparametrize a curve, I am giving correctly oriented curve points and their respective parametric values. Parametric values are in increasing order, But when I check the parametric values of the curve some of the parametric values are no in order( as an example, the 0.17 parametric point is coming between 0.15 and 0.16 parametric values).I am using 1e-7 as my tolerance value in GeomAPI_Interpolate .
Can some one explain what I am doing wrong and possibly the way to fix this issue.

Thank you!.