Pooling added to BFSGenerator