minor bug fix to include highest values in a bin