Recursion dictionary (larger) not getting fourth testcase