Find the beginning and end of the run.