Added optimisation example in ring compression