compress the grid