scan the chars in a zig/zag way