Mechanical adaptation in enamel