A flat roof is not perfectly flat. They need a slop so the water can run off. We use sloping foam to add the needed slope to the roof.