transform_iterator changes for transform_reduce.inl, need to be corrected a bit