- /* Short or medium size message and power-of-two no. of processes. Use
- * recursive doubling algorithm */
-#include "../colls_private.h"
-int smpi_coll_tuned_allgatherv_mpich_rdb (
+/* Short or medium size message and power-of-two no. of processes. Use
+ * recursive doubling algorithm */
+
+#include "../colls_private.hpp"
+#include "smpi_status.hpp"
+#include <algorithm>
+
+namespace simgrid{
+namespace smpi{
+
+int Coll_allgatherv_mpich_rdb::allgatherv (