Corrected step 1 part 3. Added sift computation.