Optimise common term