fix multi dimesion aggregation and repeated descriptors