Use i for iteration instead of l because l looks too much like 1, see #170