Where does the weathering of a rock take place?