added tag attribute to node type
modified splitnode to tag nodes in sequential order of tree trasversal, added test for this
improved tree-flat skeletons