pass functions and terminals lists into linearize-gp-tree