pub fn max_grid_disk_size(k: u32) -> Result<usize, Error>
maximum number of cells needed for the k_ring
k_ring