Fix incorrect truncation in board symmetry calculation