change scrutting algorithme