remove more cost functions