Change of morphology of a liquid—liquid dispersion as a stochastic process