Endogenous budget constraints in the assignment game