update anotherstream to remove two intermediate streams