Brazil’s JBS said its US subsidiary has signed a new four-year term loan for $500m, as the meatpacking company extends maturities and lowers its debt load.

JBS increased the loan by $50m and also lowered the spread by 25bp to 250bp over Libor as demand was more than 2.5x the initial amount, the company said in a securities filing.

Proceeds will pay off debt in the US and match its usual cash flow needs, JBS said.

The company said in May it had renegotiated BRL12.2bn ($3.25bn) in debt with Brazilian banks, pushing the due date to 2021 for 78% of the amount due. JBS will negotiate one-on-one agreements with other Brazilian banks to extend terms on the remaining loans that expire in July, investor relations director Jerry O’Callaghan said in a conference call to discuss Q1 results.

“We will look across all the geographies where we have debt expiring or that is payable… to focus on the most expensive debt by region and pay down that debt in order to reach those leverage targets,” he said.

The company had BRL45.5bn in net debt at the end of Q1 this year, down from BRL47.8bn at the same time in 2017. It also reduced short-term debt to 23% of net debt from roughly 33%, O’Callaghan said.

JBS had more than 95% of its debt in dollars and 4.7% in Brazilian reais at the end of Q1, with average costs of 5.8% in dollars and 9.2% in reais, he said.

JBS aims to lower its debt levels to 3x EBITDA by the end of 2018, down from 4.23x at the end of last year and 3.24x at the end of Q1 2018.