[Node] add computing of maxRealHeight and update scaling in Cube