changed hypercube3 so that it now is a real hypercube