···18681868 for axis <- Direction.Axis.values do
18691869 val x = pos.getComponentAlongAxis(axis)
18701870 if x < 0 || x >= 11 then boundary.break(false)
18711871- true
18711871+ current
18721872 // dump patterns
18731873 val out = Files.newOutputStream(Path.of("patterns.csv"))
18741874 try