use cdec's FastSparseVector class to efficiently store/compute feature values and derivatives wrt features on arcs