An Algorithm for Planning the Number and the Pose of the Iceballs in Cryoablation