Added smoothing small images.