Implemented trigrams to reduce explosion
Merge