migrate gather_loans.rs to LinearSet