Second accumulate without using map