common words is working on small subsets