diff --git a/Data/Octree/Internal.hs b/Data/Octree/Internal.hs
--- a/Data/Octree/Internal.hs
+++ b/Data/Octree/Internal.hs
@@ -286,7 +286,9 @@
 
 depth :: Octree a -> Int
 depth (Leaf _) = 0
-depth node     = foldr max 0 . map (+1) . map depth . subnodes $ node
+depth node     = foldr max 0
+               . map ((+1) . depth)
+               . subnodes $ node
 
 size :: Octree a -> Int
 size =  length . toList
diff --git a/Octree.cabal b/Octree.cabal
--- a/Octree.cabal
+++ b/Octree.cabal
@@ -1,5 +1,5 @@
 name:                Octree
-version:             0.5.3
+version:             0.5.4.1
 stability:           beta
 homepage:            https://github.com/mgajda/octree
 package-url:         http://hackage.haskell.org/package/octree
@@ -25,7 +25,7 @@
   location: git@github.com:mgajda/octree.git
 
 Library
-   build-depends:    base>=4.0 && < 4.8, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0
+   build-depends:    base>=4.0 && < 4.9, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0
    exposed-modules:  Data.Octree
    other-modules:    Data.Octree.Internal
    exposed:          True
@@ -33,13 +33,13 @@
 
 Test-suite test_Octree
   Type:              exitcode-stdio-1.0
-  Build-depends:     base>=4.0 && < 4.7, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0
+  Build-depends:     base>=4.0 && < 4.9, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0
   Main-is:           tests/test_Octree.hs
 
 Test-suite readme
   type:           exitcode-stdio-1.0
   -- We have a symlink: README.lhs -> README.md
   main-is:        README.lhs
-  Build-depends:  base>=4.0 && < 4.7, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0, markdown-unlit
+  Build-depends:  base>=4.0 && < 4.9, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0, markdown-unlit
   ghc-options:    -pgmL markdown-unlit
 
diff --git a/changelog b/changelog
--- a/changelog
+++ b/changelog
@@ -1,4 +1,7 @@
 -*-Changelog-*-
 
+0.5.4.1 Apr 2014
+	* Bump up upper bounds for GHC 7.10
+
 0.5.3 Apr 2014
 	* Switched to automatically derived Functor, Foldable, Traversable
