Synopsys interview question

write an algorithm to calculate the static timing analysis, and update the timing when one instance sized