overwriting the old histnorm with jeff's version