hazard-resistant building codes