catch precision error with too big chis
cleanup of sample_drc