Devide and conquer completed!