$mdarray[$tree][$stem][$height] = $line;