doc - tree algorithm schematic figure