Answer from cs61c-bd (Dae-hyeon Wi 17782249) for Question 2 The step of store&load of $ra can be elimnated, and we would never see stack overflow error.