How far can a dog run into the forest?

halfway in the forest
because if he runs more than that he would be running out of the forest