refactor intlin preprocess