prepare row and column sizes for benchmarking