prehash changes, step 1.