change xmn step direction