Irreversible electroporation (IRE), developed and manufactured by AngioDynamics US Ltd, can ablate tumor by fenestrating the cancer cell membrane by electric pulse. The anti-tumor effect does not result from thermotherapy, so is also not diminished by adjacent vessels. Several pre-clinical studies have already demonstrated IRE is a safe and effective treatment for live cancers. The system has received CE mark approval in 2008 and FDA approval in 2010. However, there is no experience in using IRE fro tumor ablation in Taiwan. In this study, the investigators will perform intraoperative IRE for the patients with liver cancers who are scheduled to receive hepatectomy in our hospital, and the investigators will evaluate the ablate effect of tumors on specimens, and the effect of adjacent vessels. The investigators will appraisal the clinical feasibility and advantage of the system by this study.