BigInt @safe

some more

some more

some cleanup

some more

hope I got them all