Most of the code was unneeded as the primitive types have a minimum required size that we can rely on.