Add cubiod constructor, using diagnoal points