Choosing next node to solve based on the fail fast principle