Analysis of the corner effect on excavation behaviors