reduced number of mpi sends/receives in main loop