Text this: Mathematical modeling of multilayer composite solid-phase synthesis taking into account the reactive layer melting