Use a per-thread array for generated moves