Adjust the algorithm a bit.