more sensible base cases in divide and conquer