smarter scaling before crop