Circumference of the binary tree