doing allgather