std::min didn't like to compare size_t and uint64_t
std::min didn't like to compare size_t and uint64_t

ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit