tree-reconstruction optimized