Cube constructor and cube helper for insidezecube