(orcc-lib) Fix issue in workload computation