Scattering from long prisms computed using ray tracing combined with diffraction on facets