re-arrange, organize for producing edgelist streams