Optimizing the sanitizing function: prefering a while True loop to recursion that can blow the stackl