performing a more aggressive code elimination