Add batch size and hit limit to constructor