I don't know what I changed.
Trying to fix list out of bounds bug for barrier checking.