Size dependent fracture and plasticity in nanorods