I change it to
myCumulativeHistogram[ b+1 ] = myCumulativeHistogram[ b ] + *srcIt