Agglomerating foam fragments