Change ccf to make ends equal 0; Changed params for filtering