Rate-compatible distributed arithmetic coding