correctly increment in hex constant