added time slice handling to OpGraphCut