Multithreading for read alignment added.