Microstructure Based Failure Criterion For Ductile Materials