For each atomic sub-system, the rest of the molecule can be treated as the environment with which the atom exchanges electrons. In this perspective, each atom is represented by a grand canonical ensemble in chemical and thermal contact with the ensembles representing the other bonded atoms. Upon equilibration, the chemical potential of such atomic ensembles will be equal, which allows their combination into a larger molecular ensemble, i.e., the general case we discussed previously.