. "the treasurer of the other county, to be placed in the general funds, such amount as shall be necessary to equalize the amount contributed by each county." . . .