properly increment for loop iter variable in kaleidoscope