CertainTeed will pay $104 million to resolve claims that its siding prematurely warped and cracked under a national class settlement agreement granted final approval by a federal judge.

U.S. District Judge Thomas N. O’Neill of the Eastern District of Pennsylvania also granted the class counsel’s requested attorney fees of $18.5 million, which is to come out of the settlement fund.