Improve the histogram-func#4
Improve the histogram-func#4