added hollow/nonhollow cuboids and fixed wide/deep naming in the writeout commands