trigram for sparse, should be fixed