new hackish cost function for MDNs