Add optional State Compression