minor update unionfind ns