in CompactDocuments and CompressedPrefixMem ShortByteString used instead of ByteString