n_gram genaration - adjusts