fix a bug for spline interpolation points number.
update