I think there is something about the bacterial population in your gut building up (like those bacterial population curves) or gaining the genetic material to process beans. I started eating a lot more beans some months ago. At first it was horrible, I was a fart machine. By the third month on beans, I barely had any flatulence.