normalize histogram heights