Carbon cycle studies based on the distribution of O2 in air