computes occupiedSquaresBLaBLa via one loop over the board once before
board evaluation.