There is something wrong in the sifting algorithm