added simple node weight computation for bv.