Update bintree.R