correction for small cardinality