static void pushFacets(TShortIntHashMap facets) {
   facets.clear();
   Deque<TShortIntHashMap> deque = cache.get().get();
   if (deque != null) {
     deque.add(facets);
   }
 }
 static TShortIntHashMap popFacets() {
   Deque<TShortIntHashMap> deque = cache.get().get();
   if (deque.isEmpty()) {
     deque.add(new TShortIntHashMap());
   }
   TShortIntHashMap facets = deque.pollFirst();
   facets.clear();
   return facets;
 }