One way of measuring a tree