pub type IntegralState<N> = BTreeMap<N, Box<dyn State>>;
Channel state is a sum of the state from all its extensions