Source: https://www.researchgate.net/profile/Michael-Klaiber-2/publication/333648619_Comparative_Study_and_Proof_of_Single-Pass_Connected_Components_Algorithms/links/5d14fda8458515c11cfd8a7a/Comparative-Study-and-Proof-of-Single-Pass-Connected-Components-Algorithms.pdf