Improve algorithm. Add cropping wide image.