Mechanism of carbon filament growth on metal catalysts