optimize the fiber scheduler