Structure of the 3-dimensional cube tilings