It used a lot of memory on long paths.