compressing bg 2