Setup metering hierarchy