May need to find a way to strip a chemical bond from the hair, removing, say two molecules then add one, having the two chains each bond to it, then add a forming a single chain. Perhaps strip away the sodium, sulfur, or hydrogen, and allow them to rebond to each other as a solid mass at that point.
Anyone here a chemist?