Bitset instead of hashmaps for storing packed nodes
BitSets are expanded if needed.