The dimension dependence of gel electrophoresis