schedule jobs using back flow algorithm