diff --git a/src/cell.h b/src/cell.h
index 91663d45bf048fff6e4bbf02d404ec62d216365b..da6c18d5e8eb4c204ee868d0928e27c37a140007 100644
--- a/src/cell.h
+++ b/src/cell.h
@@ -56,9 +56,9 @@ extern int cell_next_tag;
 
 /* Struct to temporarily buffer the particle locations and bin id. */
 struct cell_buff {
-  double x[3];
+  float x[3];
   int ind;
-} SWIFT_STRUCT_ALIGN;
+} __attribute__((aligned(16)));
 
 /* Mini struct to link cells to tasks. Used as a linked list. */
 struct link {