Change the algorithm.