And so in the first phase of communist society usually called socialism bourgeois law is not abolished in its entirety but only in part only in proportion to the economic revolution so far attained ie only in respect of the means of production

What is the correctly punctuated version of this sentence?
And so, in the first phase of communist society (usually called socialism) "bourgeois law" is not abolished in its entirety, but only in part, only in proportion to the economic revolution so far attained, i.e., only in respect of the means of production.