Adding assert on Aggregateds that check dimension of task and bounds size