mpi_gather set. Still some perf needed. And so much testing needed