Suboptimal coding metasurfaces for terahertz diffuse scattering