Optimise complete_fusion_ways: don't use IN