e.g. convert_channels_to_mask(range(0,53)) works but convert_channels_to_mask(range(0,54)) does not
e.g. convert_channels_to_mask(range(0,53)) works but convert_channels_to_mask(range(0,54)) does not