Activate Necrotic Ooze using Endling's third ability by paying , giving Necrotic Ooze undying until end of turn.
If Necrotic Ooze has any +1/+1 counters, activate it using Walking Ballista's second ability by removing a +1/+1 counter from it, dealing 1 damage to any target.
Repeat step 2 until Necrotic Ooze has no +1/+1 counters.
Activate Phyrexian Altar by sacrificing Necrotic Ooze, adding .
Necrotic Ooze dies, triggering its undying ability, returning it from your graveyard to the battlefield with a +1/+1 counter on it.