Add Tail-recursive call into dict