rock type are formed at or near surface .