reduce the file size of the bg.