Squashed 'Cuboids/' changes from 5b8d699..a5534cb

a5534cb fixed unsigned comparisons

git-subtree-dir: Cuboids
git-subtree-split: a5534cbe2fc4db17a932e966b5a486fbf8302605
Merge commit '4ede1548e39f59055227c64f2fb2c9a56fd15784'