fixes buffer usage

array was allocated, but not cleaned up before use.
I now set the buffer to zero.
4 jobs for feature/improve_ghost_collisions in 20 minutes and 41 seconds (queued for 1 second)