added global reductions
added MPI params sharing. still experimental may crash