Index calculations for inorder layout of balanced binary trees
github.com/mikolalysenko/inorder-tree-layout
mikolalysenko/inorder-tree-layout