Method of spatial size measurement of relativistic electrons beams with small bunch length