fix potential crash accessing de-allocated temporary memory
switch the half type in aces container to half_bytes

Allows us to remove the hack function in format to get around the
collision between the half class and the typedef to 16-bit integer