Prefix compression