Stable commit before proper cubic interpolation implementation