Redid the buildtree! no segfault!