Bugfix calling MPI_Comm_rank
Bugfix -- do not reset the histogram in the accumulateTree* steps