Structural protein reorganization and fold emergence investigated through amino acid sequence permutations