fixed bug in normByBinWidth