应为 `for gap < length/3`
应为
for gap < length/3