Smoothing the slab