use a marisa trie and constrain depth of wildcard searches