Implement a new fetching algorithm based on stack fetcher.