Regulating the feed w.r.t. the foam layer thickness