There are some segfaults due to unaligned memory accesses. Let's be safe
and use unaligned memory operations.