continue searching to find shorter solutions