select the grid with the smallest width