Evolution of crystal sizes in the series of dissolution and precipitation events in open magma systems