Step function interpolation implemented