Why did animal brains evolve to think between actions rather than doing all their reasoning before taking the first step?