Fixed wrong loop location in --gaussian-steps operation