Makes a trie with quantization; untested quality