merge

Merges another pipeline into this pipeline, maintaining relative phases order