getHeight and width for Node