I found a way to kinda cheat the system. If you leave the planet at the last second before it completes the upcycle, even if the danger would be 99.99%, it won't explode and still count as an upcycled planet. With that you could go endlessly from planet to planet xD