Make the interpolation function works even when we are missing more than one step