scal and step need iterCnt, and scal need debug
2 modified, need to know why its numbers equal