speed up the process of constructing cross-reference.