ItwouldhavebeenmucheasierforKerenskytocrushacomplotunexpectedbythemassesthantoattackthegarrisonconsolidatingitselfmoreandmoreonitspositions:thedefenseofitsinviolabilityinthenameofthefutureCongressoftheSoviets.

Please segment the words.
It would have been much easier for Kerensky to crush a complot unexpected by the masses than to attack the garrison consolidating itself more and more on its positions: the defense of its inviolability in the name of the future Congress of the Soviets.