cleaner formatting for step interpolation method