Formation of the frontal thrust zone of accretionary wedges