Ensure i is less than 0 when done.