Almost to a solution for the board calculation problem