Thick foam and the interlocking pieces allowed us to fit it to the exact measurements we needed!