Added threshmap.