for each control point, added a dictionary to trace all the reference strokes.