Folding of small proteins: a matter of geometry?