fixed origin computation in GridMPI constructor