removing mid level aggregations from RAIS