add metric tree component