Modify to fit the best sequence