Bugfix: compute correct number of cells