bug fixes; problem with truncated messages in mpi_reduce