Added multithreaded version of linking method -> does not work at all.
Merged.