use tail call optimization in add-new-dice