add prein (binary tree reconstruction)