Ensure slopeclass is long enough to estimate k model.