Remove optimisation from  transationalmemory