adressed the middle stepsize is always two problem