Performing cube aggregation using ZDDs