updated sense reversing barrier for MPI