speedup the _term_to_project()