BAC-272: improve cropping (rescale to requested size and then crop)