deleted wrong solution (calculating table sizes)