Fix a condition to make an array larger in the grid initialization
Description
This occurs only in rare circumstances, when only a few points are in the grid and many cores are used.
Checklist
-
I have checked that my code follows the Octopus coding standards