The electron acceleration in the bubble regime is considered during the laser-plasma interaction. The PIC and experimental results show that the obtained ellipsoid cavity model is more consistent than the spherical model. We prove the fields inside the cavity depend linearly on the coordinates and the spherical cavity is a special case of the ellipsoid model. The quasi mono-energetic electrons output beam tracing the laser plasma can be more appropriately described with this model.