Update common instrument by using new algorithm.
Fix parser's bugs.
Improve graph operations.