improve Enumerable#reverse_each to be efficient