Optimized witness search.