Working on stopping of stepgen