Strengthening of the algorithm