compress model binary