wrap spline1dbuildmonotone