improve the ngram merge and test some para