A simple damage-accumulation model for constraint effects on ductile fracture