Change ccf to make ends equal 0