Growing perfect cubes

An (n,a,b)-perfect double cube is a bxbxb sized n-ary periodic array containing all possible axaxa sized n-ary array exactly once as subarray. A growing cube is an array whose c"jxc"jxc"j sized prefix is an (n"j,a,c"j)-perfect double cube for j=1,2,..., where c"j=n"j^v^/^3,v=a^3 and n"1