improved 2-pass method, can now get node/branch size as % of total. I have some doubts about whether this will work properly for all types of unbalanced tree, though...