in preparation of implementing Bitmask interface for v5 api, the v3 implementation in the bitmask/legacy package is renamed to Bitmask3