Gain-switching characteristics and fast transient response of three-terminal size-effect modulation laser