inlined 2 BoardDirection functions 1.4M -> 1.61M nodes /sec