fixed bug stepsIter