* refactor: add small dependency * refactor: use small in variant.cc * refactor: use small in cache.h