derive histogram list in corr_hist function