This method is useful for msm circuit and it can be ported from [here](https://github.com/AztecProtocol/barretenberg/blob/4d851dd316021496bb190180de621290de602017/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup_impl.hpp#L168)