added tournament barrier for MPI