add big endian to int