ctree first pass