Generalize the ChangeCompareStride code, in preparation for