Interaction volume of electron beam in carbon nanomaterials: A molecular dynamics study