Evolution of an arbitrary sequence in solubility