add tree expansion