Fluctuations in electromagnetic showers due to an incomplete longitudinal containment