change histsize from 20000 to 30000