rm unnecessary popcnt
only search legal moves