fix byte size for 32 and 64 bit integers