Update contraction preprocessing.