Ugly, but working fix for when there are open boundaries with MPI