I think that should read `DataSpace<DIM> global_sim_size = params->window.globalWindowSize; ` since we only write out the selected window?

(See change in [my local branch](https://github.com/ax3l/picongpu/compare/ComputationalRadiationPhysics:dev...fix%2FmovingWindow) )