square loop fix bitboard