I would probably just switch to `each_with_object`.