The dynamite must lie flat so that the shock wave goes inside.
The shrapnel from an explosion is usually more dangerous than the shock wave.