Secondary electron deposition mechanism of carbon contamination