whole_space_renderer: Fix nb_blocks calculation