Add Crcsync-similar header and fix bug in moving window size