def estimate_graph_size(old_chunks, new_chunks):
 crossed_size = reduce(mul, ((len(oc) + len(nc)) for (oc, nc) in zip(old_chunks, new_chunks)))
 return crossed_size

def estimate_graph_size ( old_chunks , new_chunks ) : crossed_size = reduce ( mul , ( ( len ( oc ) + len ( nc ) ) for ( oc , nc ) in zip ( old_chunks , new_chunks ) ) ) return crossed_size
estimate the graph size during a rechunk computation .