Reusing Go functions from Nathan's repository to track ID changes in soil data and store points as visited, improving iteration performance.