Cooperative folding of intrinsically disordered domains drives assembly of a strong elongated protein