Simplify dependencies by passing pointers over the pipe: avoid O(n^2) behaviour for...