Filling implementation, but commenting out cubic interpolation