ADD: try all possible base images in MultiImage::optimize2