CubeJoin, layout refactory, translate