A big changes in the algorithm