I have method A. This method has a limitation in high-dimension cases. This limitation leads method A to lose its flexibility in high-dimension. Therefore, there is method B, which overcomes the limitation of method A.
I would like to say that:
Method B overcomes the limitation (of method A) of losing the flexibility in high-diemension
I feel that the grammar of my sentence is wrong. How could I present my sentence in a correct way?