First version of compression.