bn: always work with big endian