add compressed representation, difference encoding