Spray foam is applied to the flat roof section from the outside.