The stability of rock on mild slops under wave attack