collection: use unsigned masks