he had been so lost in his own thoughts that he had n't realized how far in he had travelled , and more importantly , he had n't noticed the small wooden cabin standing no more than twenty yards ahead of him .