Use an integer for hash cost factor