Use (cheaper) bitwise AND