-Fix: Scale flows only after mapping to avoid rounding errors.