Skew aware polarity assignment in clock tree