Change algorithm.