Removed redundant size and color members from root node of nodeData and added check for root node when calculating area.