sequence_to_compact_string