Optimal scaling laws for ductile fracture derived from strain-gradient microplasticity