make spline bbox wider
ugly fix for wrong fitting
fix condition for enough sample to fit spline