Avoid integer overflow for large grids
Description
Fix some more integer overflows by converting them to floats. The issue is a multiplication of the dimensions in the default ISF Poisson solver, leading to a wrong results. In the mesh partitioning, only the output is affected.