hex <-> dec e collapse