feat: replace quadratic removal of rc
instructions
#6705
+21
−12
Merged