Weighting techniques in data compression door