Whether a municipality is required to act so as to avoid reasonably foreseeable harm and, if so, what steps it is required to take to prevent harm, depends what can be reasonably expected in the circumstances of each case. Undue demands cannot be placed on public authorities and functionaries. Their resources and the manner in