Rewrite SelectCube to bare bones