Improved overlays management to reduced memory footprint.