Adjust grid.