hashing and selection fix in micro aggregation