revert greedy-stream