stemming and frequency upper lower bound inside