pre cache mask lookup
static and inlines
change offset math to use in not long long for offset
move the creation of the mask.
into it's own function
- will return a device pointer with the mask