add maxgap & comparevernum