Take-it-or-leave-it contracts in many-to-many matching markets