buildLayers gaurds against non-infinit x-y-z factor lists
onward
 buildLayers: minX width easier to read
reduceCube: now extends the y-axis