rewrite IntelHex class