gprof activated, iterator constructor's overhead eliminated.