Added tail_opt:sum/1