Access to the second stability region of the ballooning modes is obtained by optimizing the profiles of plasma pressure and safety factor in a conventional tokamak plasma. It is shown that access becomes easier at low shear and nearly circular cross-section. This result indicates the possibility of improving the beta limit of a tokamak without increasing the total plasma current or the elongation.