Slightly adjust the algorithm