Pass build index for preprocess.