bugfix: if input images are too small , don't resize them