1308, disjoint set