I guess yeah. In that condition the algorithm would probably destroy all universe. Although you might be able to set a threshold and not destroy when it is over the threshold.
But situation where you don’t know the answer is not for this algorithm as this one came from sorting problem.
He did not have to provide lifelong project and work on it. He just needed to donate his money and people in UN would have worked with that money. Even if it didn’t work, he’d still have done a real great job by donating that much. And maybe we could have learn money is not the solution and we need to change approach.