fix for relative step

Found a silly mistake in relative stepsize calculation.