Gut biome is important for legume consumption. The first few months I went to a plant based diet my digestion was hell. At some point I reached a turning point though, and my gut health became even better than before. My flatulence was so much worse when I was eating meat regularly - often room clearing.