Improved building codes could save homeowners 20 percent on their energy bills.