remove mpi barriers, replace allreduce with pcu_add_ints