Effect of ego strength upon individual behavior in groups