diff --git a/edges.cabal b/edges.cabal
--- a/edges.cabal
+++ b/edges.cabal
@@ -1,5 +1,5 @@
 name: edges
-version: 0.9.1.1
+version: 0.10
 category: Graphs
 synopsis: Tools for efficient immutable graphs
 description: A set of tools for constructing immutable graphs which are both memory and performance-efficient.
diff --git a/library/Edges/Functions.hs b/library/Edges/Functions.hs
--- a/library/Edges/Functions.hs
+++ b/library/Edges/Functions.hs
@@ -62,10 +62,10 @@
   Edges bAmount $ runIdentity $ PrimMultiArray.create aAmount $ \ fold ->
   Identity $ Foldl.fold fold foldable
 
-nodeCountsList :: NodeCounts entity -> [Word32]
+nodeCountsList :: NodeCounts entity -> [Word64]
 nodeCountsList (NodeCounts pa) = foldrPrimArray' (:) [] pa
 
-nodeCountsUnboxedVector :: NodeCounts entity -> UnboxedVector.Vector Word32
+nodeCountsUnboxedVector :: NodeCounts entity -> UnboxedVector.Vector Word64
 nodeCountsUnboxedVector (NodeCounts pa) = PrimArray.toUnboxedVector pa
 
 unindexNodeCounts :: (Eq entity, Hashable entity) => (Int -> Maybe entity) -> NodeCounts entity -> HashMap entity Int
diff --git a/library/Edges/NodeCounting.hs b/library/Edges/NodeCounting.hs
--- a/library/Edges/NodeCounting.hs
+++ b/library/Edges/NodeCounting.hs
@@ -50,7 +50,7 @@
 This function can be used to reduce the amount of computation by excluding the nodes,
 which don't make much difference.
 -}
-targetsWithMinSourceAmount :: Word32 -> Edges source target -> NodeCounts source -> NodeCounts target
+targetsWithMinSourceAmount :: Word64 -> Edges source target -> NodeCounts source -> NodeCounts target
 targetsWithMinSourceAmount minSourceCount (Edges targetAmount edgesPma) (NodeCounts sourceCountsPa) =
   unsafePerformIO $ do
     targetCountsMpa <- newPrimArray targetAmount
diff --git a/library/Edges/Types.hs b/library/Edges/Types.hs
--- a/library/Edges/Types.hs
+++ b/library/Edges/Types.hs
@@ -10,9 +10,9 @@
 
 newtype Node entity = Node Int
 
-newtype NodeCounts entity = NodeCounts (PrimArray Word32)
+newtype NodeCounts entity = NodeCounts (PrimArray Word64)
 
-newtype EdgeCounts source target = EdgeCounts (PrimArray Word32)
+newtype EdgeCounts source target = EdgeCounts (PrimArray Word64)
 
 {-|
 Total amount of unique entities of the type
