Remove unused iterate_position variable