someone forget to assign value for maxWordLen in QuerySegment