changed cuboid to only iterate face blocks

Prevents cuboid from iterating internal blocks, at the cost of double-iterating edges and triple-iterating corners.