final version of degre seq preserving randomnization