Simplified cropping logic.