Optimistic compression algorithm.