new approach to keep only high-order n-grams