Tree like mget calculation.