use fastgreedy for cs