mapshard port need to be big endian!