Sweep panorama Out of memory fix