spatial_decomposition_count != 5 bugfix