Moving CTE stuff from CompareADAM
squash! Checkpoint: need to disaggregate values