Clock distribution network optimization under self heating andtiming constraints