r2193 - add TREE_THRESHOLD config option