Trying to vectorize as many thins as possible now.