A man used enough energy to go from Aardvark to Beeville. On the first day he traveled 1/3 of the distance. On day two he traveled 1/2 of the remaining distance. on day three he traveled 2/3 of the remaining distance. On day four, after covering 3/4 of the remaining distance, he was still 5 miles away from beeville. How mant miles so far had the energy allowed him to go?