Optimize clock