That&#x27;s still a bit slower than it needs to be. The real trick to doing something like is seeing that we have 10(18x16) = 10(17^2 - 1) = 10(289-1)<p>Having the first 30 squares committed to memory has been pretty useful for me.