Binarize trees