tested on whole alice: 5,5 thousands in NDTrie% 21 Mb memory usage. great!