extended multithreading for merging templates