You cool it down to room temperature, and as you do, those short strands do the following thing: each one of them binds that long strand in one place, and then has a second half that binds that long strand in a distant place, and brings those two parts of the long strand close together so they stick together.