(Hevc/GenerateBs): Reducing memory footprint.