187. If the municipal corporation is among the corporations referred to in section 4 or 5 or has delegated its jurisdiction in real estate assessment under section 195, it must bear alone the cost of preparing its roll of rental values and keeping it up to date, subject to an agreement to the contrary between the municipality and all the municipal corporations in which it has jurisdiction.