cuav_mosaic: changed to new MPImage PI
scanner: removed recursion in assign_regions()