diff --git a/cpp/base.hpp b/cpp/base.hpp
index 07667151d1023d08bd3e884ca9030bd68150d20d..203d707c53e267bd1555ef5fcab3989810408ee3 100644
--- a/cpp/base.hpp
+++ b/cpp/base.hpp
@@ -39,7 +39,7 @@
 /////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////
 
-static const int message_buffer_length = 2048;
+static const int message_buffer_length = 32768;
 extern int myrank, nprocs;
 
 inline int MOD(int a, int n)