fix some bugs in offset finding, change charset
refactor debruijn patterns to woD and woO