Some states are changing fire codes to make housing cheaper.