Allow mosaicing first and last images.