Built initial functionality to care only about N most frequetn terms and exclude very common and very rare terms. Still not working properly.