Renamed bg_size for consistency