Add functions for unaligned memory access
Prevent unaligned memory access