private void buildCurves(HashMap<String, ManageableCurveSnapshot> curvesBuilder, Map<String, String> currentRow) {
String name = currentRow.get(SnapshotColumns.NAME.get());
if (!curvesBuilder.containsKey(name)) {
ManageableCurveSnapshot curve = new ManageableCurveSnapshot();
ManageableUnstructuredMarketDataSnapshot snapshot = new ManageableUnstructuredMarketDataSnapshot();
curve.setValuationTime(Instant.parse(currentRow.get(SnapshotColumns.INSTANT.get())));
snapshot.putValue(createExternalIdBundle(currentRow),
currentRow.get(SnapshotColumns.VALUE_NAME.get()),
createValueSnapshot(currentRow));
curve.setValues(snapshot);
curvesBuilder.put(name, curve);
} else {
curvesBuilder.get(name).getValues().putValue(createExternalIdBundle(currentRow),
currentRow.get(SnapshotColumns.VALUE_NAME.get()),
createValueSnapshot(currentRow));