Changing CreateTrie in constructor and parameters