Compresses a stream of incoming data with reoccurring blocks.