. . . "building codes and ordinances, environmental considerations, and other factors also might make it impractical or undesirable to use insurance proceeds to replace a property after it has been damaged or destroyed." .