Extract the iterator used for going through the grid.