Before revision:  The difference between the average values at vertices (high-low) is set as its weight.
After revision:  The difference between the average values at vertices (high-low) is set as the edge's weight.