preprocess debugging: multi-threaded remapIndex