also check stop criteria after every search step