use prehashing for ordinal values automatically