Stress and failure at mechanical contacts of microspheres under uniaxial compression