Added nuc type to tree building