Take into account the possible spawn cases in the evaluation function.