all reduce debug