More fix in the indices, check the write file MPI_File_write_all