Mechanisms of carbon deposition—a kinetic approach