Update buildtree.java