timing optimization via logic restructuring 1851772