Added option to skip low frequency terms.