if bigram is 0, then we return trigram as 0