Partitioning the grid so it is more realistic in parallel.