Merge preprocess