Working implementation of slow start