One system which would solve the issue would be:
One cubatom costs 1, one 2, one 4, one 8, one 16...
Each item\'s cost would be rounded to the closest power of 2 + or - another power of 2 and can be created by these two cubatoms.
And a factory system where you choose the input items and...