3D cube grid pattern