[graph-tool] Preserving the degree-sequence while generating SBM