Diffraction by a truncated slab filled by dielectric material