rescaled the images to fit