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