Spatial-energy criterion of structure stabilization was obtained. The computation results for a hundred binary systems correspond to the experimental data. The basic regularity of organic cyclic compound formation is given and its application for carbon nanostructures is shown.