switch on advanced optimisations. big speedup.