Collapsable metric tree