1D processing thread

It doesn’t check. As there aren’t many cases, you could cover all of them in your conditional.