Lecture 5: augmenting union-find with size