diff --git a/modules/geom/pymod/export_composite3.cc b/modules/geom/pymod/export_composite3.cc
index ed69d1ae49011918f196cce57ac6e22cc8f06955..df7cafa3c1bcd44d30d4200f18f0de90730c8b1c 100644
--- a/modules/geom/pymod/export_composite3.cc
+++ b/modules/geom/pymod/export_composite3.cc
@@ -162,11 +162,13 @@ scope PlaneScope =
     .def("GetMax", &AlignedCuboid::GetMax, 
          return_value_policy<copy_const_reference>())
     .def("GetCenter", &AlignedCuboid::GetCenter)
+    .def("GetSize", &AlignedCuboid::GetSize)
     .add_property("max", make_function(&AlignedCuboid::GetMax,
          return_value_policy<copy_const_reference>()))
     .add_property("min", make_function(&AlignedCuboid::GetMin,
          return_value_policy<copy_const_reference>()))
     .add_property("center", &AlignedCuboid::GetCenter)
+    .add_property("size", &AlignedCuboid::GetSize)
   ;
 }
 
diff --git a/modules/mol/base/src/impl/entity_impl.cc b/modules/mol/base/src/impl/entity_impl.cc
index 8d17d4a133d641a88afb3cd81a5722223105eb9a..47f13dcb76be556f2c3e371e1cdbddd6ce0588e3 100644
--- a/modules/mol/base/src/impl/entity_impl.cc
+++ b/modules/mol/base/src/impl/entity_impl.cc
@@ -271,7 +271,7 @@ geom::AlignedCuboid EntityImpl::GetBounds() const
     mmin=mmax=it->second->GetPos();
     for (++it; it!=atom_map_.end();++it) {
       mmin=geom::Min(mmin,it->second->GetPos());
-      mmax=geom::Min(mmax,it->second->GetPos());      
+      mmax=geom::Max(mmax,it->second->GetPos());
     }
     return geom::AlignedCuboid(mmin, mmax);    
   } else {