Flattening of slabs of various sizes and materials.