some changes to torus cube