soil layer aggregation functions added