The effects of drill string impacts on wellbore stability