Who benefited the least from the treaty of brest-litovsk?