this algorithm was based on paper "A Novel Net Weighting Algorithm for Timing-Driven Placement"