Added optimization: task start and end for the combined paxos and smt scheduling.