Resample binary tree