the race was a tortuous five miles of rolling , uneven pasture with obstacles : two streams that were two and a half miles apart and a narrow rocky ridge up a ten-percent grade a quarter mile before the finish .