Optimal sizing of high-speed clock networks based on distributed RC and lossy transmission line models