swr: use a local variable for ns_coeffs