how engineering disasters influenced building codes