use kvSize (not uid size)