redo im_*mosaic1() as classes
redo im_*merge1() as classes