Added multithreading, changed map.