As the glaciers melted, the eroded sediments were left behind as piles of debris or deposited in streams.
(the glaciers; melted; ) (the eroded sediments; were left; behind; as piles of debris; T:As the glaciers melted) (the eroded sediments; deposited; in streams)
the glaciers the eroded sediments the eroded sediments
melted were left deposited
behind as piles of debris T:As the glaciers melted
in streams