Frustration Sculpts the Early Stages of Protein Folding.