Created all necessary structures for compression.