Reduces the size of the sample grid.