[NEW] First multithreaded version of dual graph generation. The algorithm falls back to (faster) array k-way merging whenever only a single thread is being used.