The vertical growth of MoS2 layers at the initial stage of CVD from first-principles.