Effects of hydraulic shear stress and rate of erosion on the magnitude, degree, and rate of collapse