implemented histogram for MPI comm, others follow