added showHeights, hideHeights to tree