Structure of the 1-dimensional cube tilings