added compression of attributes to a new integer range