worked on mpi gather