working on single-class implementation of treeGP