The effect of plasma radius and profile on the development of self-modulation instability of electron bunches