Smarter K searching