minor changes with the domain decompositon (problems when nz==4 and mpisize>4)