Supercubes: A High-Level Primitive for Diamond Hierarchies