Fixed the last strict aliasing and avoid the memcpy.