add cardinality ratio to costmodel