Establish a definition of a personality type that can function in socialism. Slaughter everyone outside of that personality type.
That’s who socialism is, always, eventually made to “work”.
That’s why the Khmer Rouge in Cambodia beat or shot to death people who wore glasses (because it was thought that that showed someone who was too smart) or for excess happiness or being too lazy or for playing non Communist music.