Working highest-order ngram pruning, lower orders segfaulting