Sum Path
Manully manage stack