modification on the initial grid and on the grid::operator<<