[nitpick] don't use int instead of std::size_t.