tried my own slice! didn't work :-1:
converted to character based trie