Remove the replacing surface code