The whole purpose of the original snippet is for simple calculations. I doubt the author has thought up a prudent calculation snippet as "fancy" as what you have demonstrated here. Let's not get into the matter of tampering with its fallacy by "digging more holes" :p Nothing is 100% perfect.; perfection is far too subjective.