an inside - out tree