1. Algorithm of adjusting parameter to the surface boundaries has been changed. 2. Control First and Last parameters in BRepLib_CheckCurveOnSurface::Compute() function. Test cases for issue CR25819