left to right parsing of tree at each level.