working on compression of stored byte arrays