removed flag from remove_critical_cf_edges()