Implemented runntime for workset iterations.