Statistical age determination of tree rings