Break the pipeline out into multiple files/modules, add simhash to pipeline O(n^2)