divide by number of samples in a bin