> It's not clear that this returns a cube

Do you mean it's not clear whether it modifies itself in-place, becoming a single-cube list, or whether it returns a new cube?