Modeling multiple melt loss events in the evolution of an active continental margin