version 0.2.8

improve algorithm of segmentDoc()