histo(gram) scaling fixed