corrected index used in shuffled OOB array for VI