more features for dist_hist.r