tree sampler