the trading of votes by members of congress to obtain passage of projects that are of interest to one another is referred to as: Logrolling
In logrolling, two or more Congress could create an agreement that each of them will give their vote to support the bills that pushed by each of them, so they collectively gained more power in the office.