3D arrays without concatenate