poster, can you give me the code of disjoint set forest print? Sorry to give an disrelated reply..but I find I cannot PM you...