finished multithreading the sun detection by isolines