converted from nextRoxelIds to nextPossibleDirections