Preprocess Shift expression