zorro_mask has order of operations bug
This line is incorrect as it first combines the mask and the token type matrix before comparing with the FUSION token enum value. It can be corrected to this:
zorro_mask = zorro_mask | (token_types_attend_from == TokenTypes.FUSION.value)