Stepwise detection of recombination breakpoints