This reverts commit 33c1534bdf
The set b, which temporarily stores ChunkPositions, will be a threadLocal variable to avoid concurrent modification of it, when multiple threads use it. The previous approach in commit 33c1534bdf had worked too, but required the accessing thread to wait for each other, because of the lock they were taking.