The mask is a boolean, not an integer
Remove useless test WidePayload, as it was the same as LongPayload