assignBlocks: Assign set numbers to a vector of values.
Description
Each set has size set_size (internally optimized using correctSetSize), holding values from 'values'.
This gives n such sets and the return value is just the set index for each value.