compute decimal now chains with_index iterator on collect enumerable, then uses inject to add values