Add 'basic' optimizations as optional to cse