IMG optimization