initialise the cube data buffers