Staging: only build the tree if we really want to