Better handling of custom crops by checking the ratio