Some improvements to bitboard.hpp