Fix edge cases where ARRAY_SIZE % n_threads wasn't 0
Add v4