add build-gp-tree and gp-tree-size functions