Implemented optimal delta compression algorithm