tree diameter