Endian optimizations #1