recursive aggregation structure for resource access