Change in the way iteration variable in innermost loop is updated