remove dependence <numeric> and <algorithm>