I don't want to be pedantic, but I think the cube must be two dimensional i.e. have only two dimensions. A three dimensional cube 'has two dimensions'. While I'm being pedantic, could you add a full stop too?