minor modifications to the range iterator for certain STL algorithms