Added Global f tracing

-Added Global F tracing.
-Fixed a bug that f value won't updated when working on outsourcing