There is something wroing with constrained smoothing.