PPtree function

Preprocessed Trees.