Editing recombination routine