Linear time adaptive arithmetic coding | Synapse