Fix for aggregation_max_prefix

Add a new interval iif te current one is to small
Aggregation tool