working version of online-dynamic-heft for simple initial case with upping machines