In the case of a building which is not wholly detached, the public ways or open spaces upon which it abuts shall be of such width as will enable the persons who are to be accommodated to disperse rapidly in the event of fire and permit the approach of fire engines and fire appliances.