shave off a couple of ms by not using local bindings
move the advance/next_doc _and_next_position to Helper.java