Moved to MPI_Scatterv for variable-sized input.