add helper for countminsketch instantiation