add cal_dilute