Find offset for mossaic images. It doesn't work yet

due to unknown errors.