removed maxqueries variable from bitermgenerator