implementing SEAMO2, fixing repair_routeset