Solution
---------------------------------------------------------------------------------
--- complete puzzle list ---
---------------------------------------------------------------------------------
dim pNbr maxX maxY maxZ puzzle definition [x,y,z]
1 1 1 1 5 [0,0,0][0,0,1][0,0,2][0,0,3][0,0,4]
2 2 1 2 3 [0,0,0][0,0,1][0,1,1][0,0,2][0,1,2]
2 3 1 2 3 [0,0,0][0,1,0][0,0,1][0,0,2][0,1,2]
2 4 1 2 4 [0,0,0][0,0,1][0,0,2][0,0,3][0,1,3]
2 5 1 2 4 [0,0,0][0,0,1][0,0,2][0,1,2][0,0,3]
2 6 1 2 4 [0,0,0][0,0,1][0,0,2][0,1,2][0,1,3]
2 7 1 3 3 [0,0,0][0,0,1][0,0,2][0,1,2][0,2,2]
2 8 1 3 3 [0,0,0][0,0,1][0,1,1][0,1,2][0,2,2]
2 9 1 3 3 [0,0,0][0,0,1][0,1,1][0,2,1][0,0,2]
2 10 1 3 3 [0,0,0][0,0,1][0,1,1][0,2,1][0,1,2]
2 11 1 3 3 [0,0,0][0,0,1][0,1,1][0,2,1][0,2,2]
2 12 1 3 3 [0,1,0][0,0,1][0,1,1][0,2,1][0,1,2]
3 13 2 2 2 [0,0,0][0,0,1][1,0,1][0,1,1][1,1,1]
3 14 2 2 2 [0,0,0][0,1,0][0,0,1][1,0,1][1,1,1]
3 15 2 2 3 [0,0,0][0,0,1][0,0,2][0,1,2][1,1,2]
3 16 2 2 3 [0,0,0][0,0,1][0,0,2][1,0,2][0,1,2]
3 17 2 2 3 [0,0,0][0,0,1][0,0,2][1,0,2][1,1,2]
3 18 2 2 3 [0,0,0][0,0,1][0,1,1][0,0,2][1,0,2]
3 19 2 2 3 [0,0,0][0,0,1][0,1,1][0,1,2][1,1,2]
3 20 2 2 3 [0,0,0][0,0,1][0,1,1][1,1,1][0,0,2]
3 21 2 2 3 [0,0,0][0,0,1][0,1,1][1,1,1][0,1,2]
3 22 2 2 3 [0,0,0][0,0,1][0,1,1][1,1,1][1,1,2]
3 23 2 2 3 [0,0,0][0,0,1][1,0,1][0,0,2][0,1,2]
3 24 2 2 3 [0,0,0][0,0,1][1,0,1][0,1,1][0,0,2]
3 25 2 2 3 [0,0,0][0,0,1][1,0,1][0,1,1][1,0,2]
3 26 2 2 3 [0,0,0][0,0,1][1,0,1][1,0,2][1,1,2]
3 27 2 2 3 [0,0,0][0,0,1][1,0,1][1,1,1][1,1,2]
3 28 2 2 3 [0,0,0][0,1,0][0,0,1][0,0,2][1,0,2]
3 29 2 2 3 [0,0,0][0,1,0][0,1,1][0,1,2][1,1,2]