Just before modifying the algorithm.