Make the exhaustive search practical.