the rocks suffered a considerable folding during the carboniferous period