add histogram of masses