I think that the problem here is that each integral is evaluated without taking in account the constraints of the other integrals, so it is possible that the inner integral diverges depending in the values of $x$ and $z$. If this is true then putting some constraints before to the integral on $x$ and $z$ probably help in this problem.