PR commit for adding support for degree 1 curves

Only keep track of the index and type of the hit curve, instead of copying the entire curve key for each hit (same thing below).