use binary pattern matching for hexify