Optimize stop word filter.