Use tree to construct values.