fix histop
extend histsize from 1000 to 10000