Interim commit to handle bitmask with more than 32 positions.