cubes: size upper bound