They are hard to build because once the chain raction starts in the nuclear material, the resulting reaction tends to break up and disperse the nuclear material before the chain reaction progresses very far. It's called a fizzle. Fission bombs are designed with a wrap-around concave shaped charge of conventional explosive around the nuclear material. This is detonated as the critical mass of nuclear material is slammed together, and the compression wave from the conventional explosion holds the fissioning mass of nuclear material together long enough for the chain reaction explosion to complete. The engineering for this and the precise timing and controll of the detonation sequence is extremely hard.