Fix: allow range of xyz/mask for appropriate types.