In a lahd, the body lies in a recess to the side of the main pit, closed independently. In a shaqq, the central trench holds the body.
The legal question concerns the recommended form and practical necessity, not automatic invalidity whenever a different sound construction is used.