J, is there a limitation put on villagerbreeding in the Vanilla server?

The infinite breeder setup at ava's base stops at 32 villagers. (I wanted to get 40 villagers)
I can't wrap my head around what's stops the villagers from breeding. They do show hearts but no extra villagers after some time observing them.