Added big-endian support
Big endian configuration