Alter the hasing computation when inserting into the folding set.