create treeEval, need to use multiprocessing