MEDITE adaptation: recursive alignment