std::fill instead of for cycle