https://webis.de/downloads/lecturenotes/algorithms-and-datastructures/unit-de-trees/unit-de-trees-12.png