boolean array instead of int
fixes backwashing in ~lg N using an additional UF