made step value only to be integer