optimize my image architecture