allreduce debugged