irf_convert_fac made general