Fixed bug that was assigning starvation time incorrectly.