add dataspecs to DKsMDNcost