Made gaps span two characters in case of hex strings