build preprocess