fix sliding_window
new File::Write
merge