Add end time to graph and also rect for slow tasks