influences on strength of rock