Add config option to adjust the work factor